wandboard: Avoid calling setup_display() from SPL code
authorFabio Estevam <[email protected]>
Sat, 23 Sep 2017 02:45:30 +0000 (23:45 -0300)
committerStefano Babic <[email protected]>
Thu, 12 Oct 2017 15:30:32 +0000 (17:30 +0200)
commit1b853e4793121e58bf52bf1320ebd6b5840620c8
tree3bd5d307c8322bcb5eb1097e18dd33615179b90f
parent5e5b20c89fc91759411af4180fa3d31c79186512
wandboard: Avoid calling setup_display() from SPL code

There is no need call setup_display() from SPL code, so move it to
board_init(), which executes only in U-Boot proper.

Reported-by: Stefano Babic <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
Reviewed-by: Stefano Babic <[email protected]>
board/wandboard/wandboard.c